package com.xsir.ditan.miniprogram.mapper;

import com.xsir.ditan.admin.vo.CertVo;
import com.xsir.ditan.miniprogram.entity.Certificate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xsir
 * @since 2021-02-08
 */
public interface CertificateMapper extends BaseMapper<Certificate> {
    
    List<CertVo> list();
    
    boolean updateWrap(@Param("certificate") Certificate certificate);
}
